package com.mvc.model.healthmanager.archive;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.mvc.model.base.IdEntity;
@Entity
@Table(name="yh_temperature")
@DynamicInsert(false)
@DynamicUpdate(false)
@JsonIgnoreProperties(ignoreUnknown = true)
public class Temperature extends IdEntity implements Serializable{

	private static final long serialVersionUID = -3325684807155742102L;
	private String personId;
	private String idcard;
	private Double temperature;
	private String state;//体温状态
	private String devicecode;
	private String dataSource;
	private Date creatDate;
	private Date modifyDate;
	private Integer count;
//	private String temperature;//体温值 
	private String result;//结论：-1、低温，0、正常，1、高温
	private String gid;
	private String deviceCode;
    private String cardCode;
    private Double temperatureChange;
    private Date uploadTime;
    private String dataStatus;
    private String dataSourse;
    private Date createdTime;
    private String suggest;
    private String mealSuggest;
    private String sportSuggest;
    private String branchno;//机构码
    private Long appLocalId;
	private Integer respCode;
	@Transient
	public Long getAppLocalId() {
		return appLocalId;
	}
	@Transient
	public Integer getRespCode() {
		return respCode;
	}
	@Transient
	public void setAppLocalId(Long appLocalId) {
		this.appLocalId = appLocalId;
	}
	@Transient
	public void setRespCode(Integer respCode) {
		this.respCode = respCode;
	}
	public String getPersonId() {
		return personId;
	}
	public void setPersonId(String personId) {
		this.personId = personId;
	}
	public String getIdcard() {
		return idcard;
	}
	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}
	public Double getTemperature() {
		return temperature;
	}
	public void setTemperature(Double temperature) {
		this.temperature = temperature;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getDevicecode() {
		return devicecode;
	}
	public void setDevicecode(String devicecode) {
		this.devicecode = devicecode;
	}
	public String getDataSource() {
		return dataSource;
	}
	public void setDataSource(String dataSource) {
		this.dataSource = dataSource;
	}
	public Date getCreatDate() {
		return creatDate;
	}
	public void setCreatDate(Date creatDate) {
		this.creatDate = creatDate;
	}
	public Date getModifyDate() {
		return modifyDate;
	}
	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}
	public Integer getCount() {
		return count;
	}
	public void setCount(Integer count) {
		this.count = count;
	}
	public Temperature(){}
	
	@Transient
	public String getResult() {
		return result;
	}
	@Transient
	public String getGid() {
		return gid;
	}
	@Transient
	public String getDeviceCode() {
		return deviceCode;
	}
	@Transient
	public String getCardCode() {
		return cardCode;
	}
	@Transient
	public Double getTemperatureChange() {
		return temperatureChange;
	}
	@Transient
	public Date getUploadTime() {
		return uploadTime;
	}
	@Transient
	public String getDataStatus() {
		return dataStatus;
	}
	@Transient
	public String getDataSourse() {
		return dataSourse;
	}
	@Transient
	public Date getCreatedTime() {
		return createdTime;
	}
	@Transient
	public String getSuggest() {
		return suggest;
	}
	@Transient
	public String getMealSuggest() {
		return mealSuggest;
	}
	@Transient
	public String getSportSuggest() {
		return sportSuggest;
	}
	@Transient
	public String getBranchno() {
		return branchno;
	}
	@Transient
	public void setResult(String result) {
		this.result = result;
	}
	@Transient
	public void setGid(String gid) {
		this.gid = gid;
	}
	@Transient
	public void setDeviceCode(String deviceCode) {
		this.deviceCode = deviceCode;
	}
	@Transient
	public void setCardCode(String cardCode) {
		this.cardCode = cardCode;
	}
	@Transient
	public void setTemperatureChange(Double temperatureChange) {
		this.temperatureChange = temperatureChange;
	}
	@Transient
	public void setUploadTime(Date uploadTime) {
		this.uploadTime = uploadTime;
	}
	@Transient
	public void setDataStatus(String dataStatus) {
		this.dataStatus = dataStatus;
	}
	@Transient
	public void setDataSourse(String dataSourse) {
		this.dataSourse = dataSourse;
	}
	@Transient
	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}
	@Transient
	public void setSuggest(String suggest) {
		this.suggest = suggest;
	}
	@Transient
	public void setMealSuggest(String mealSuggest) {
		this.mealSuggest = mealSuggest;
	}
	@Transient
	public void setSportSuggest(String sportSuggest) {
		this.sportSuggest = sportSuggest;
	}
	@Transient
	public void setBranchno(String branchno) {
		this.branchno = branchno;
	}
	
}
